<%--
  Created by IntelliJ IDEA.
  User: Noodles
  Date: 2018/1/11
  Time: 11:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<a style="font-family: 楷体;font-size: 26px">增加课程信息</a>
<form action="/addClassInfo" method="post">
<%if (request.getAttribute("addClassInfo")!=null){%>
<%=request.getAttribute("addClassInfo")%>
<%request.setAttribute("addClassInfo","");%>
<%}%>
    <table border="1" cellpadding="10" cellspacing="0" width="50%" style="text-align: center;" align="center">
    <tr>
        <td>课 程 号：</td>
        <td><input type="text" name="cno"></td>
    </tr>

    <tr>
        <td>课 程 名：</td>
        <td><input type="text" name="cname"></td>
    </tr>

    <tr>
        <td>任课教师：</td>
        <td><input type="text" name="tname"></td>
    </tr>
    <tr>
        <td>教师账号：</td>
        <td><input type="text" name="taccount"></td>
    </tr>
</table>
    <input type="submit" style="margin: 0 auto; display: block;margin-bottom: 10px;margin-top: 10px">
    <input type="reset" style="margin: 0 auto; display: block;">
</form>
</body>
</html>
